package com.gxdf.uc.data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;

import com.google.gson.annotations.SerializedName;

public class Form {
	
	private String formName;
	private String description;
	
	ArrayList<Field> fields;
	
	
	public Form() {
		fields= new ArrayList<Field>();
	}
	

	public Form(String formName, String description) {
		super();
		fields= new ArrayList<Field>();
		this.formName = formName;
		this.description = description;		
	}
	
	public void addField(Field field){		
		fields.add(field);
		
	}
	
	public Iterator getFieldsIt(){		
		return fields.iterator();		
	}
	
	public ArrayList<Field> getFields(){
		return this.fields;
	}

	public String getFormName() {
		return formName;
	}

	public void setFormName(String formName) {
		this.formName = formName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	

}
